package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService extends IService<Activity> {
    PageResult<Activity> page(Integer page, Integer pageSize, String channel, Integer type, Integer status);

    void deleteById(Integer id);

    void add(Activity activity);

    Activity getById(Integer id);

    void update(Activity activity);

    List<Activity> findByType(Integer type);
}
